﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<YourStore.Models.UserProfile>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	MyAccount
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="right">
    <h2>MyAccount</h2>

    <fieldset>
        <legend>Account Info:</legend>
        <div class="editor-field">First Name : <%=ViewData["FirstName"]%></div>
        <div class="editor-field">Last Name : <%=ViewData["LastName"]%></div>
        <div class="editor-field">User Name: <%: Model.UserName %> </div>
        <div class="editor-field">IsAnonymous :<%: Model.IsAnonymous %></div>
        <div class="editor-field">Last Activity Date : <%: String.Format("{0:g}", Model.LastActivityDate) %></div>
        <div class="editor-field">Last Updated Date : <%: String.Format("{0:g}", Model.LastUpdatedDate) %></div>
     </fieldset>
    <p>
        
        <%: Html.ActionLink("View My Order", "MyOrder","Account") %>
    </p>
    </div>
</asp:Content>

